package com.dao.redis.redisEntity;

import java.io.Serializable;

/**
 * 可序列化的登录验证实体类
 * 
 * @author 尚业
 *
 */
public class LoginVerify implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 登录返回给用户的token
	 */
	private String token;
	/**
	 * 用户时间戳,用于用户登录的超时验证
	 */
	private long timestamp;
//	/**
//	 * 由参数生成的签名
//	 */
//	private String sign;
	/**
	 * 登录用户的用户名
	 */
	private String userName;
	private String name1;
	private String shopname;
	
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public long getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getName1() {
		return name1;
	}
	public void setName1(String name1) {
		this.name1 = name1;
	}
	public String getShopname() {
		return shopname;
	}
	public void setShopname(String shopname) {
		this.shopname = shopname;
	}
	
}
